package cate.game.play.buff.h;

import cate.game.play.buff.BuffHandler;
import cate.game.play.config.PlayCfgArgs;
import cate.game.play.proce.action.ctx.ActionCtx;

/**
 * 添加时变更觉醒值
 */
public class 觉醒变更BH extends BuffHandler {

	private double 值;

	//值=10
	@Override
	public void parse(String code) {
		PlayCfgArgs args = new PlayCfgArgs(code);
		值 = args.getInt("值", 0);
	}

	@Override
	public void onAdd(ActionCtx action) {
		buff.owner.skill.addAwakenEnergy(action, 值);
	}
}
